package com.xy.webadmin.app.vo;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * MQTT设备状态数据模型
 *
 * @author xiaoyue
 * @date 2025-07-03
 */
@Data
public class MqttDeviceStatusVo implements Serializable {
    private Long configId;
    private String configName;
    private Integer totalDevices;
    private Integer onlineDevices;
    private Integer offlineDevices;
    private Date lastUpdateTime = new Date();
    
    // 可以添加更多字段如消息吞吐量、连接速率等
    private Long messagesSent;
    private Long messagesReceived;
    private Double connectionRate;
} 